package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

@FieldTypeAnnotation(tableName = "t_l_ck_vehicle_get", desc = "珍兽获得", autoSave = true, uploadCk = true)
public class LogGetVehicle extends ServerBaseLog {
    @FieldTypeAnnotation(desc = "用户id", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "珍兽唯一id")
    private String vehicleUid;
    @FieldTypeAnnotation(desc = "珍兽配置id")
    private int templateId;
    @FieldTypeAnnotation(desc = "master途径")
    private int master;
    @FieldTypeAnnotation(desc = "son途径")
    private int son;

    public LogGetVehicle(long userId, String vehicleUid, int templateId, int master, int son) {
        this.userId = userId;
        this.vehicleUid = vehicleUid;
        this.templateId = templateId;
        this.master = master;
        this.son = son;
    }

    public long getUserId() {
        return userId;
    }
}
